package com.example.travelservlet.collectionScenery.repository;

import com.example.travelservlet.entity.CollectionScenery;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CollectionSceneryRepository extends JpaRepository<CollectionScenery,String>, JpaSpecificationExecutor {
//    CollectionScenery findCollectionSceneryByCollectId(String collectd);

//    List<CollectionScenery> findCollectionSceneriesByCollectIdsIn(List<String> collectionIds);
    List<CollectionScenery> findCollectionSceneriesByCollectId(String collectionIds);

}
